gtk4.git
17 years agoFixed wrong translations (Bug #556017).
Takeshi AIHANA [Mon, 13 Oct 2008 00:38:24 +0000 (00:38 +0000)]
Fixed wrong translations (Bug #556017).

2008-10-13  Takeshi AIHANA <takeshi.aihana@gmail.com>

        * ja.po: Fixed wrong translations (Bug #556017).

svn path=/trunk/; revision=21640

17 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Sun, 12 Oct 2008 20:30:17 +0000 (20:30 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=21638

17 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Sun, 12 Oct 2008 20:30:01 +0000 (20:30 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=21637

17 years agoFixed terminology in Brazilian Portuguese translation by Vladimir Melo.
Leonardo Ferreira Fontenelle [Sun, 12 Oct 2008 17:19:57 +0000 (17:19 +0000)]
Fixed terminology in Brazilian Portuguese translation by Vladimir Melo.

2008-10-12  Leonardo Ferreira Fontenelle  <leonardof@gnome.org>

* pt_BR.po: Fixed terminology in Brazilian Portuguese translation by
Vladimir Melo.

svn path=/trunk/; revision=21636

17 years agoClosed #555625 – Updated gtk_compose_seqs_compact table (gtkimcontextsimpleseqs.h)
Simos Xenitellis [Sun, 12 Oct 2008 16:11:48 +0000 (16:11 +0000)]
Closed #555625 – Updated gtk_compose_seqs_compact table (gtkimcontextsimpleseqs.h)

svn path=/trunk/; revision=21634

17 years agoRevert the GtkSettings::gtk-toolbar-icon-size part of the previous change,
Matthias Clasen [Sun, 12 Oct 2008 15:27:57 +0000 (15:27 +0000)]
Revert the GtkSettings::gtk-toolbar-icon-size part of the previous change,

2008-10-11  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktoolbar.c: Revert the GtkSettings::gtk-toolbar-icon-size
        part of the previous change, since it doesn't work correctly without
        extra complication, and using custom icon sizes doesn't make too
        much sense in a desktop-wide setting.

svn path=/trunk/; revision=21633

17 years agoBug 555186 – Setting gtk-toolbar-icon-size with custom icon_size
Matthias Clasen [Sun, 12 Oct 2008 03:17:16 +0000 (03:17 +0000)]
Bug 555186 – Setting gtk-toolbar-icon-size with custom icon_size

2008-10-11  Matthias Clasen  <mclasen@redhat.com>

        Bug 555186 – Setting gtk-toolbar-icon-size with custom icon_size

        * gtk/gtktoolbar.c: Turn GtkToolbar::icon-size and
        GtkSettings::gtk-toolbar-icon-size into int properties, to
        allow the use of app-registered icon sizes.

svn path=/trunk/; revision=21632

17 years agoBug 555676 – gtk_widget_real_grab_focus assumes toplevel == window
Christian Dywan [Sat, 11 Oct 2008 03:37:47 +0000 (03:37 +0000)]
Bug 555676 – gtk_widget_real_grab_focus assumes toplevel == window

* gtk/gtkwidget.c (gtk_widget_real_grab_focus):
Actually test for GTK_IS_WINDOW *and* GTK_WIDGET_TOPLEVEL

svn path=/trunk/; revision=21631

17 years agoBug 551355 – [PATCH] Make glib build with libtool 2.2
Behdad Esfahbod [Sat, 11 Oct 2008 00:05:31 +0000 (00:05 +0000)]
Bug 551355 – [PATCH] Make glib build with libtool 2.2

2008-10-10  Behdad Esfahbod  <behdad@gnome.org>

        Bug 551355 – [PATCH] Make glib build with libtool 2.2

        * autogen.sh: Accept libtool 2.2.   We are moving towards having
        it working.

svn path=/trunk/; revision=21630

17 years agoAdd empty stub to fix linking.
Richard Hult [Fri, 10 Oct 2008 13:38:05 +0000 (13:38 +0000)]
Add empty stub to fix linking.

2008-10-10  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkkeys-quartz.c: (gdk_keymap_get_caps_lock_state)
Add empty stub to fix linking.

svn path=/trunk/; revision=21629

17 years agoFixed Bug 555000, check_algorithmically() applies to deadkey keysyms only.
Simos Xenitellis [Fri, 10 Oct 2008 08:29:12 +0000 (08:29 +0000)]
Fixed Bug 555000, check_algorithmically() applies to deadkey keysyms only.

svn path=/trunk/; revision=21627

17 years agoFixed Bug 555000, check_algorithmically() applies to deadkey keysyms only.
Simos Xenitellis [Fri, 10 Oct 2008 08:28:12 +0000 (08:28 +0000)]
Fixed Bug 555000, check_algorithmically() applies to deadkey keysyms only.

svn path=/trunk/; revision=21626

17 years agoFixed Bug 555000, check_algorithmically() applies to deadkey keysyms only.
Simos Xenitellis [Fri, 10 Oct 2008 08:21:54 +0000 (08:21 +0000)]
Fixed Bug 555000, check_algorithmically() applies to deadkey keysyms only.

svn path=/trunk/; revision=21623

17 years agoBug 555676 – gtk_widget_real_grab_focus assumes toplevel == window
Christian Dywan [Thu, 9 Oct 2008 17:27:59 +0000 (17:27 +0000)]
Bug 555676 – gtk_widget_real_grab_focus assumes toplevel == window

* gtk/gtkwidget.c (gtk_widget_real_grab_focus):
Test for GTK_IS_WINDOW instead of GTK_WIDGET_TOPLEVEL

svn path=/trunk/; revision=21622

17 years agoBug 555573 – gtk_font_selection_set_font_name
Christian Dywan [Thu, 9 Oct 2008 16:26:35 +0000 (16:26 +0000)]
Bug 555573 – gtk_font_selection_set_font_name
shouldn't require a screen

* gtk/gtkfontsel.c (gtk_font_selection_set_font_name):
Don't warn if there is no screen, just return FALSE

svn path=/trunk/; revision=21621

17 years agoBug 555523 – gtk_scale_button_set_adjustment should accept NULL
Christian Dywan [Thu, 9 Oct 2008 16:19:06 +0000 (16:19 +0000)]
Bug 555523 – gtk_scale_button_set_adjustment should accept NULL

* gtk/gtkscalebutton.c (gtk_scale_button_set_adjustment):
Create a new adjustment if NULL is passed, like other widgets

svn path=/trunk/; revision=21620

17 years agoBug 555578 – GtkTable propertiy maxima are wrong
Christian Dywan [Thu, 9 Oct 2008 15:57:55 +0000 (15:57 +0000)]
Bug 555578 – GtkTable propertiy maxima are wrong

* gtk/gtktable.c (gtk_table_class_init), (gtk_table_resize):
Always use 65535 instead of G_MAXUINT since that is
the actually supported maximum number of columns and rows

svn path=/trunk/; revision=21619

17 years agoBug 550342 – Splash screens have a caption
Richard Hult [Thu, 9 Oct 2008 11:27:31 +0000 (11:27 +0000)]
Bug 550342 – Splash screens have a caption

2008-10-09  Richard Hult  <richard@imendio.com>

Bug 550342 – Splash screens have a caption

* gdk/quartz/gdkwindow-quartz.c: (_gdk_window_new),
(gdk_window_set_decorations): Patch from Marianne Gagnon to make
splash windows borderless.

svn path=/trunk/; revision=21617

17 years agoBug 516425 – Optionally display accelerators in popups
Michael Natterer [Thu, 9 Oct 2008 08:51:02 +0000 (08:51 +0000)]
Bug 516425 – Optionally display accelerators in popups

2008-10-09  Michael Natterer  <mitch@imendio.com>

Bug 516425 – Optionally display accelerators in popups

* gtk/tmpl/gtkuimanager.sgml: document the enhanced XML syntax and
the new enum value for popups with accelerators.

svn path=/trunk/; revision=21616

17 years agoBug 516425 – Optionally display accelerators in popups
Michael Natterer [Thu, 9 Oct 2008 08:50:33 +0000 (08:50 +0000)]
Bug 516425 – Optionally display accelerators in popups

2008-10-09  Michael Natterer  <mitch@imendio.com>

Bug 516425 – Optionally display accelerators in popups

* gtk/gtkuimanager.h (enum GtkUIManagerItemType): add value
GTK_UI_MANAGER_POPUP_WITH_ACCELS which works like _POPUP but
shows the actions' accelerators.

* gtk/gtkuimanager.c: honor the new enum value for programmatically
created UIs, and support <popup accelerators="true"> in the XML
for the same purpose.

svn path=/trunk/; revision=21615

17 years agoFixed Bug 554192 – deadkey-only compose sequences now working
Simos Xenitellis [Wed, 8 Oct 2008 23:04:54 +0000 (23:04 +0000)]
Fixed Bug 554192 – deadkey-only compose sequences now working

svn path=/trunk/; revision=21613

17 years agoBug 554702 – gtkfilesystem leaks GError
Christian Persch [Wed, 8 Oct 2008 21:00:56 +0000 (21:00 +0000)]
Bug 554702 – gtkfilesystem leaks GError
Also fixes some "format not a string literal and no format arguments"
warnings.

svn path=/trunk/; revision=21611

17 years agoAdd bug ref
Matthias Clasen [Wed, 8 Oct 2008 15:32:48 +0000 (15:32 +0000)]
Add bug ref

svn path=/trunk/; revision=21609

17 years agoDon't forget to reset reload_state when current_folder is already correct.
Matthias Clasen [Wed, 8 Oct 2008 15:32:23 +0000 (15:32 +0000)]
Don't forget to reset reload_state when current_folder is already correct.

2008-10-08  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
        Don't forget to reset reload_state when current_folder is already
        correct. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=465992

svn path=/trunk/; revision=21608

17 years agoBug 555270 – Allow unsetting a MessageDialog's image
Christian Dywan [Wed, 8 Oct 2008 02:27:07 +0000 (02:27 +0000)]
Bug 555270 – Allow unsetting a MessageDialog's image

2008-10-08  Christian Dywan  <christian@imendio.com>

Bug 555270 – Allow unsetting a MessageDialog's image

* gtk/gtkmessagedialog.c (gtk_message_dialog_set_property),
Remove a superfluous cast to GtkWidget*
(gtk_message_dialog_set_image): Accept NULL for the image
and unset the image in that case.

svn path=/trunk/; revision=21607

17 years agoBug 436533 – Allow more space efficient scroll arrows placement
Christian Dywan [Wed, 8 Oct 2008 02:16:08 +0000 (02:16 +0000)]
Bug 436533 – Allow more space efficient scroll arrows placement

* gtk/gtkenums.h: Add GtkArrowPlacement
* gtk/gtkmenu.c (gtk_menu_class_init), (get_arrows_border),
(get_arrows_visible_area), (get_double_arrows),
(get_arrows_sensitive_area): Implement GtkMenu::arrow-placement
to allow scrolling arrows to be placed at the start, end or both
Patch by Tommi Komulainen and myself

svn path=/trunk/; revision=21606

17 years agoBug 555387 – Changing the sensitivity of a statusbar
Christian Dywan [Wed, 8 Oct 2008 02:02:50 +0000 (02:02 +0000)]
Bug 555387 – Changing the sensitivity of a statusbar
mistakenly requires a display

* gtk/gtkstatusbar.c (set_grip_cursor): Only change the cursor
of the resize grip if there is a grip window.

svn path=/trunk/; revision=21605

17 years agoAvoid uninitialized memory warnings
Matthias Clasen [Tue, 7 Oct 2008 18:06:00 +0000 (18:06 +0000)]
Avoid uninitialized memory warnings

svn path=/trunk/; revision=21603

17 years agoBug 554950 – gail must make itself resident
Matthias Clasen [Tue, 7 Oct 2008 17:41:46 +0000 (17:41 +0000)]
Bug 554950 – gail must make itself resident

2008-10-07 Matthias Clasen <mclasen@redhat.com>

        Bug 554950 – gail must make itself resident

        * gail.c: Make the module resident, since it can't handle
        being unloaded.

svn path=/trunk/; revision=21601

17 years agogtk/gtkbox.c: fixed type declaration.
Tim Janik [Tue, 7 Oct 2008 09:32:20 +0000 (09:32 +0000)]
gtk/gtkbox.c: fixed type declaration.

svn path=/trunk/; revision=21600

17 years agokeep GtkBox as an abstract type and keep _gtk_box_new() as private
11:03:30 Tim Janik [Tue, 7 Oct 2008 09:07:27 +0000 (09:07 +0000)]
keep GtkBox as an abstract type and keep _gtk_box_new() as private

2008-10-07 11:03:30  Tim Janik  <timj@imendio.com>

        * gtk/gtkbox.h: keep GtkBox as an abstract type and keep _gtk_box_new()
        as private function until we settle on the exact semantics.
        renamed _gtk_box_set_old_defaults() as suggested by Mitch.

svn path=/trunk/; revision=21599

17 years agoreindent static prototypes.
Michael Natterer [Tue, 7 Oct 2008 07:50:04 +0000 (07:50 +0000)]
reindent static prototypes.

2008-10-07  Michael Natterer  <mitch@imendio.com>

* gtk/gtkbox.c: reindent static prototypes.

svn path=/trunk/; revision=21598

17 years agoadd gtk_box_new.
Michael Natterer [Tue, 7 Oct 2008 07:46:08 +0000 (07:46 +0000)]
add gtk_box_new.

2008-10-07  Michael Natterer  <mitch@imendio.com>

* gtk/gtk-sections.txt: add gtk_box_new.

svn path=/trunk/; revision=21597

17 years agoBug 553573 – Add orientation API to GtkBox
Michael Natterer [Tue, 7 Oct 2008 07:44:06 +0000 (07:44 +0000)]
Bug 553573 – Add orientation API to GtkBox

2008-10-07  Michael Natterer  <mitch@imendio.com>

Bug 553573 – Add orientation API to GtkBox

* gtk/gtkbox.[hh]: implement the GtkOrientable interface and
swallow all code from GtkHBox and GtkVBox. Add gtk_box_new()
which takes a GtkOrientation argument. Also move the newly
added "spacing_set" boolean from struct GtkBox to the new
private struct.

* gtk/gtkhbox.[ch]
* gtk/gtkvbox.[ch]: remove all code except the constructor and
call gtk_orientable_set_orientation() in init().

* gtk/gtk.symbols: add gtk_box_new().

svn path=/trunk/; revision=21596

17 years agoClarification.
Tor Lillqvist [Mon, 6 Oct 2008 21:33:36 +0000 (21:33 +0000)]
Clarification.

svn path=/trunk/; revision=21595

17 years agoBug 539464 – gtk_cell_view_get_model is missing in GtkCellView
Björn Lindqvist [Mon, 6 Oct 2008 21:15:45 +0000 (21:15 +0000)]
Bug 539464 – gtk_cell_view_get_model is missing in GtkCellView

2008-10-06  Björn Lindqvist  <bjourne@gmail.com>

Bug 539464 – gtk_cell_view_get_model is missing in GtkCellView

* gtk/gtkcellview.c (gtk_cell_view_get_model): Add
gtk_cell_view_get_model.

svn path=/trunk/; revision=21593

17 years agoShow the tooltip on the range entry itself, too.
Matthias Clasen [Mon, 6 Oct 2008 18:26:27 +0000 (18:26 +0000)]
Show the tooltip on the range entry itself, too.

2008-10-06  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkprintunixdialog.c (create_main_page): Show the tooltip
        on the range entry itself, too.

svn path=/trunk/; revision=21591

17 years agoSlight editing of last entry.
Tor Lillqvist [Sun, 5 Oct 2008 00:11:39 +0000 (00:11 +0000)]
Slight editing of last entry.

svn path=/trunk/; revision=21589

17 years agoBug 132501 - Make utility window translate to tool window in win32
Tor Lillqvist [Sun, 5 Oct 2008 00:00:10 +0000 (00:00 +0000)]
Bug 132501 - Make utility window translate to tool window in win32

2008-10-04  Tor Lillqvist  <tml@novell.com>

Bug 132501 - Make utility window translate to tool window in win32

Implement the utility window type hint. Such windows are kept on
top of other windows. Makes GIMP's toolbox and dock windows behave
more like in GNOME under metacity. Apply the same logic also to
windows marked with the dialog window type hint, and windows that
are transient for some other window. I'll call such windows
"transient-type" below.

* gdk/win32/gdkevents-win32.c (doesnt_want_key): Drop unused
variables.

(ensure_stacking_on_unminimize)
(ensure_stacking_on_window_pos_changing)
(ensure_stacking_on_activate_app): New functions to implement the
desired stacking order. Make sure that a window that is not
transient-type stays below any transient-type windows of the
application. When activating a non-transient-type window make sure
it rises as high as possible.

(gdk_event_translate): Call above functions on
WM_WINDOWPOSCHANGING, WM_ACTIVATEAPP and on WM_SIZE when
unminimizing. Improve debugging printout.

* gdk/win32/gdkwindow-win32.c (get_effective_window_decorations):
Handle utility windows like toolbar windows.

(gdk_window_new_internal) (update_style_bits): Give utility
windows the WS_EX_TOOLWINDOW extended style.

(gdk_window_set_title): If debugging "misc" or "events", make the
handle of top-level windows show up in their title bars. Very
useful when looking at debugging output.

(gdk_window_set_keep_above) (gdk_window_set_keep_below)
(gdk_window_set_modal_hint) (gdk_window_set_skip_taskbar_hint)
(gdk_window_set_skip_pager_hint): Add and improve debugging
printout.

(gdk_window_set_type_hint): Print hint symbolically in GDK_NOTE().

2008-10-04  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkmain-win32.c (_gdk_win32_window_exstyle_to_string)
(_gdk_win32_window_pos_bits_to_string): New debugging printout
functions. Decode the WS_EX_* and SWP_* bits.

* gdk/win32/gdkprivate-win32.h: Declare them. Define
GDK_DEBUG_MISC_OR_EVENTS for use in GDK_NOTE() to match either
"misc" or "events".

svn path=/trunk/; revision=21587

17 years agoAdd some debug output.
Matthias Clasen [Sat, 4 Oct 2008 01:54:30 +0000 (01:54 +0000)]
Add some debug output.

2008-10-03  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtkmodules.c (_gtk_modules_settings_changed): Add some
        debug output.

svn path=/trunk/; revision=21583

17 years agoBug 96431 – Can't cut and paste / DND within invisible entry
Matthias Clasen [Fri, 3 Oct 2008 02:01:58 +0000 (02:01 +0000)]
Bug 96431 – Can't cut and paste / DND within invisible entry

2008-10-02  Matthias Clasen <mclasen@redhat.com>

        Bug 96431 – Can't cut and paste / DND within invisible entry

        * gtk/gtkentry.c: Disable cut, copy and drag out of an invisible
        entry. Proposed by Owen Taylor

svn path=/trunk/; revision=21582

17 years agoBug 530575 – GtkEntry with invisible chars has a confused cursor in
Matthias Clasen [Fri, 3 Oct 2008 01:16:48 +0000 (01:16 +0000)]
Bug 530575 – GtkEntry with invisible chars has a confused cursor in

2008-10-02  Matthias Clasen <mclasen@redhat.com>

        Bug 530575 – GtkEntry with invisible chars has a confused cursor in
        overwrite mode

        * gtk/gtkentry.c (gtk_entry_draw_cursor): Use the visible text
        in the layout when positioning the cursor, not the actual text
        content of the entry. This makes a different when using overwrite
        mode in an invisible entry.
        Problem noticed by Jonathan Blandford

        * gtk/gtktextutil.c: Fix a typo in a comment

svn path=/trunk/; revision=21580

17 years agoBug 554704 – gtkfilesystemmodel does too much work
Christian Persch [Thu, 2 Oct 2008 19:48:02 +0000 (19:48 +0000)]
Bug 554704 – gtkfilesystemmodel does too much work

svn path=/trunk/; revision=21572

17 years agoBug 554701 – filechooser spams console with useless warnings
Christian Persch [Thu, 2 Oct 2008 19:47:57 +0000 (19:47 +0000)]
Bug 554701 – filechooser spams console with useless warnings

svn path=/trunk/; revision=21571

17 years agoBug 554698 – mem leak in filechooser
Christian Persch [Thu, 2 Oct 2008 19:47:52 +0000 (19:47 +0000)]
Bug 554698 – mem leak in filechooser

svn path=/trunk/; revision=21570

17 years agoBug 554696 – invalid free function used
Christian Persch [Thu, 2 Oct 2008 19:47:45 +0000 (19:47 +0000)]
Bug 554696 – invalid free function used

svn path=/trunk/; revision=21569

17 years agoBug 554691 – mem leak in filechooser
Christian Persch [Thu, 2 Oct 2008 19:47:40 +0000 (19:47 +0000)]
Bug 554691 – mem leak in filechooser

svn path=/trunk/; revision=21568

17 years agoBug 554690 – mem leak in filechooser
Christian Persch [Thu, 2 Oct 2008 19:47:35 +0000 (19:47 +0000)]
Bug 554690 – mem leak in filechooser

svn path=/trunk/; revision=21567

17 years agoadd gtk_ruler_new.
Michael Natterer [Thu, 2 Oct 2008 15:26:05 +0000 (15:26 +0000)]
add gtk_ruler_new.

2008-10-02  Michael Natterer  <mitch@imendio.com>

* gtk/gtk-sections.txt: add gtk_ruler_new.

svn path=/trunk/; revision=21566

17 years agoBug 553585 – Add orientation API to GtkRuler
Michael Natterer [Thu, 2 Oct 2008 15:13:23 +0000 (15:13 +0000)]
Bug 553585 – Add orientation API to GtkRuler

2008-10-02  Michael Natterer  <mitch@imendio.com>

Bug 553585 – Add orientation API to GtkRuler

* gtk/gtkruler.[ch]: implement the GtkOrientable interface and
swallow all code from GtkHRuler and GtkVRuler. Add gtk_ruler_new()
which takes a GtkOrientation argument.

* gtk/gtkhruler.c
* gtk/gtkvruler.c: remove all code except the constructor and
call gtk_orientable_set_orientation() in init().

* gtk/gtk.symbols: add gtk_ruler_new().

svn path=/trunk/; revision=21565

17 years agoAdd gtk_selection_data_get_selection to retrieve the sealed struct field
Torsten Schönfeld [Wed, 1 Oct 2008 18:53:49 +0000 (18:53 +0000)]
Add gtk_selection_data_get_selection to retrieve the sealed struct field
GtkSelectionData.selection.

svn path=/trunk/; revision=21564

17 years agoUpdated Brazilian Portuguese translation.
Og B. Maciel [Wed, 1 Oct 2008 15:49:15 +0000 (15:49 +0000)]
Updated Brazilian Portuguese translation.

svn path=/trunk/; revision=21563

17 years agoremove debug spew
Matthias Clasen [Wed, 1 Oct 2008 14:34:12 +0000 (14:34 +0000)]
remove debug spew

svn path=/trunk/; revision=21561

17 years agoDon't #define _GNU_SOURCE on Windows as it confuses newest mingw headers.
Tor Lillqvist [Wed, 1 Oct 2008 11:02:51 +0000 (11:02 +0000)]
Don't #define _GNU_SOURCE on Windows as it confuses newest mingw headers.

2008-10-01  Tor Lillqvist  <tml@novell.com>

* gtk/gtkscalebutton.c: Don't #define _GNU_SOURCE on Windows as it
confuses newest mingw headers.

svn path=/trunk/; revision=21559

17 years agoImplement trivially on Windows. Not sure if something more complex is
Tor Lillqvist [Wed, 1 Oct 2008 11:02:22 +0000 (11:02 +0000)]
Implement trivially on Windows. Not sure if something more complex is

2008-10-01  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkkeys-win32.c (gdk_keymap_get_caps_lock_state):
Implement trivially on Windows. Not sure if something more complex
is actually needed, more specifically whether the function needs
to differentiate between "Caps Lock" and "Shift Lock" semantics?

svn path=/trunk/; revision=21558

17 years agoFixed Bug 554506 – combining diacritics broken, became deadkeys
Simos Xenitellis [Wed, 1 Oct 2008 10:53:51 +0000 (10:53 +0000)]
Fixed Bug 554506 – combining diacritics broken, became deadkeys

svn path=/trunk/; revision=21557

17 years agoDon't #define _GNU_SOURCE on Windows as it confuses newest mingw headers.
Tor Lillqvist [Wed, 1 Oct 2008 10:43:02 +0000 (10:43 +0000)]
Don't #define _GNU_SOURCE on Windows as it confuses newest mingw headers.

2008-10-01  Tor Lillqvist  <tml@novell.com>

* io-icns.c: Don't #define _GNU_SOURCE on Windows as it confuses
newest mingw headers.

svn path=/trunk/; revision=21555

17 years agoadd gtk_separator_new.
Michael Natterer [Tue, 30 Sep 2008 14:33:36 +0000 (14:33 +0000)]
add gtk_separator_new.

2008-09-30  Michael Natterer  <mitch@imendio.com>

* gtk/gtk-sections.txt: add gtk_separator_new.

svn path=/trunk/; revision=21554

17 years agoBug 553582 – Add orientation API to GtkSeparator
Michael Natterer [Tue, 30 Sep 2008 14:20:30 +0000 (14:20 +0000)]
Bug 553582 – Add orientation API to GtkSeparator

2008-09-30  Michael Natterer  <mitch@imendio.com>

Bug 553582 – Add orientation API to GtkSeparator

* gtk/gtkseparator.[ch]: implement the GtkOrientable interface and
swallow all code from GtkHSeparator and GtkVSeparator. Add
gtk_separator_new() which takes a GtkOrientation argument.

* gtk/gtkhseparator.c
* gtk/gtkvseparator.c: remove all code except the constructor and
call gtk_orientable_set_orientation() in init().

* gtk/gtk.symbols: add gtk_separator_new().

svn path=/trunk/; revision=21553

17 years agoBug 344522 – support non-local destination files (GtkPrint):
Marek Kasik [Tue, 30 Sep 2008 08:45:01 +0000 (08:45 +0000)]
Bug 344522 – support non-local destination files (GtkPrint):

2008-09-30  Marek Kasik  <mkasik@redhat.com>

Bug 344522 – support non-local destination files (GtkPrint):

* gtk/gtkprintunixdialog.c
* gtk/gtkprinteroptionwidget.c: Process URI instead of filename.
* modules/printbackends/file/gtkprintbackendfile.c: Add ability
to save files on non-local filesystems.

svn path=/trunk/; revision=21552

17 years agoforgot the G_GNUC_CONST of gtk_orientable_get_type().
Michael Natterer [Tue, 30 Sep 2008 08:37:34 +0000 (08:37 +0000)]
forgot the G_GNUC_CONST of gtk_orientable_get_type().

2008-09-30  Michael Natterer  <mitch@imendio.com>

* gtk/gtk.symbols: forgot the G_GNUC_CONST of
gtk_orientable_get_type().

svn path=/trunk/; revision=21551

17 years agoBug 541009 – Get rid of separate subclasses for horizontal and vertical
Michael Natterer [Tue, 30 Sep 2008 08:14:11 +0000 (08:14 +0000)]
Bug 541009 – Get rid of separate subclasses for horizontal and vertical

2008-09-30  Michael Natterer  <mitch@imendio.com>

Bug 541009 – Get rid of separate subclasses for horizontal and
vertical orientation:

* gtk/Makefile.am
* gtk/gtk.symbols
* gtk/gtk.h
* gtk/gtkorientable.[ch]: add new interface GtkOrientable which
will be implemented by everything that can switch orientation.

svn path=/trunk/; revision=21550

17 years agoFix a typo in the tutorial.
Christian Dywan [Tue, 30 Sep 2008 01:29:26 +0000 (01:29 +0000)]
Fix a typo in the tutorial.

2008-09-30  Christian Dywan  <christian@imendio.com>

Fix a typo in the tutorial.

* docs/tutorial/gtk-tut.sgml: It's mnemonic, not 'mnemnonic'.

svn path=/trunk/; revision=21549

17 years agoBug 553086 – hard to see current immodule
Matthias Clasen [Tue, 30 Sep 2008 00:58:39 +0000 (00:58 +0000)]
Bug 553086 – hard to see current immodule

2008-09-29  Matthias Clasen  <mclasen@redhat.com>

        Bug 553086 – hard to see current immodule

        * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
        Display the actually selected context in the system menuitem.
        Complaint by Akira Tagoh.

svn path=/trunk/; revision=21548

17 years agoBug 530568 – Entries with visibility=FALSE should warn for caps-lock on
Matthias Clasen [Mon, 29 Sep 2008 21:57:29 +0000 (21:57 +0000)]
Bug 530568 – Entries with visibility=FALSE should warn for caps-lock on

2008-09-29  Matthias Clasen  <mclasen@redhat.com>

        Bug 530568 – Entries with visibility=FALSE should warn for caps-lock
        on

        * gtk/gtkentry.c: Add a tooltip-like Caps Lock warning for
        password entries. The warning is also triggered if an input method
        is active. The warning can be turned off using the
        GtkEntry::caps-lock-warning property.
        Proposed by Owen Taylor

svn path=/trunk/; revision=21547

17 years agoAdd a getter for the the sealed context_id field.
Matthias Clasen [Mon, 29 Sep 2008 20:55:31 +0000 (20:55 +0000)]
Add a getter for the the sealed context_id field.

2008-09-29  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtk.symbols:
        * gtk/gtkimmulticontext.[hc] (gtk_im_multicontext_get_context_id):
        Add a getter for the the sealed context_id field.

svn path=/trunk/; revision=21546

17 years agoBug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc.
Matthias Clasen [Mon, 29 Sep 2008 20:40:45 +0000 (20:40 +0000)]
Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc.

2008-09-29  Matthias Clasen  <mclasen@redhat.com>

        Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc.

        * gdk/gdk.symbols:
        * gdk/gdkkeys.[ch]: Add a new GdkKeymap::state-changed signal, and
        a gdk_keymap_get_caps_lock_state function.

        * gdk/x11/gdkkeys-x11.c: Implement it here. For now, only emit
        state-changed when caps lock lockedness changes.

        * gdk/x11/gdkdisplay-x11.c: Also select for modifier lock status
        changes in the XkbSelectEventDetails call.

svn path=/trunk/; revision=21545

17 years agoBug 487624 - Tooltips doesn't get updated if ther's no mouse motion over
Kristian Rietveld [Mon, 29 Sep 2008 16:44:10 +0000 (16:44 +0000)]
Bug 487624 - Tooltips doesn't get updated if ther's no mouse motion over

2008-09-29  Kristian Rietveld  <kris@imendio.com>

Bug 487624 - Tooltips doesn't get updated if ther's no mouse motion
over widget

* gtk/gtkwidget.c (gtk_widget_set_property): after updating
tooltip text or markup, call gtk_widget_trigger_tooltip_query()
so that existing visible tooltips are updated.

svn path=/trunk/; revision=21544

17 years agoBug 371908 – Password Entry broken Bug 317002 – Disable input method
Matthias Clasen [Mon, 29 Sep 2008 14:28:19 +0000 (14:28 +0000)]
Bug 371908 – Password Entry broken Bug 317002 – Disable input method

2008-09-29  Matthias Clasen  <mclasen@redhat.com>

        Bug 371908 – Password Entry broken
        Bug 317002 – Disable input method completely in GtkEntry when it's
        in invisible mode.

        * gtk/gtkentry.c (gtk_entry_backspace): Make backspace behave
        properly when invisible.

        * gtk/gtkentry.c (gtk_entry_create_layout): Show preedit even if
        invisible.

        * gtk/gtkentry.c (gtk_entry_set_visibility): Don't disable input
        methods when making the entry invisible.

svn path=/trunk/; revision=21543

17 years agoCorrectly chain up the finalize implementation.
Emmanuele Bassi [Mon, 29 Sep 2008 10:54:50 +0000 (10:54 +0000)]
Correctly chain up the finalize implementation.

2008-09-29  Emmanuele Bassi  <ebassi@linux.intel.com>

* gdk/x11/gdkinput.c:
(gdk_device_class_init), (gdk_device_finalize): Correctly chain
up the finalize implementation.

svn path=/trunk/; revision=21542

17 years agoBug 554141 – uninitialized data use/free in gtkclipboard-quartz.c
Richard Hult [Mon, 29 Sep 2008 10:41:07 +0000 (10:41 +0000)]
Bug 554141 – uninitialized data use/free in gtkclipboard-quartz.c

2008-09-29  Richard Hult  <richard@imendio.com>

Bug 554141 – uninitialized data use/free in gtkclipboard-quartz.c

* gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
Patch from Jon A. Cruz to initialize the allocated selection data.

svn path=/trunk/; revision=21540

17 years agoBug 339367 – Incorrect spotlocation
Matthias Clasen [Sun, 28 Sep 2008 03:21:15 +0000 (03:21 +0000)]
Bug 339367 – Incorrect spotlocation

2008-09-27  Matthias Clasen  <mclasen@redhat.com>

        Bug 339367 – Incorrect spotlocation

        * modules/input/gtkimcontextxim.c: Correct the spot location
        for on-the-spot style.

svn path=/trunk/; revision=21537

17 years agoUpdated Catalan translation by David Planella
Gil Forcada Codinachs [Sat, 27 Sep 2008 16:43:16 +0000 (16:43 +0000)]
Updated Catalan translation by David Planella

svn path=/trunk/; revision=21535

17 years agoonly draw keyboard focus when keyboard navigation is used, like
Denis Washington [Sat, 27 Sep 2008 12:53:05 +0000 (12:53 +0000)]
only draw keyboard focus when keyboard navigation is used, like

2008-09-27  Denis Washington  <denisw@svn.gnome.org>

* gtk/gtkiconview.c: only draw keyboard focus when keyboard navigation
is used, like GtkTreeView. (Bug #553575)

svn path=/trunk/; revision=21534

17 years ago Bug 552959 – GtkTrayIcon: _NET_SYSTEM_TRAY_VISUAL and real
Matthias Clasen [Sat, 27 Sep 2008 04:27:53 +0000 (04:27 +0000)]
    Bug 552959 – GtkTrayIcon: _NET_SYSTEM_TRAY_VISUAL and real
        transparency

        * gtk/gtktrayicon-x11.c: Add support for the _BET_SYSTEM_TRAY_VISUAL
        property described in
        http://lists.freedesktop.org/archives/xdg/2008-September/009919.html
        If _NET_SYSTEM_TRAY_VISUAL is a visual with an alpha channel, the
        parent-relative-background hack is skipped and we draw with a real
        transparent background.

        * gtk/gtkrc.c: Remove the default GtkTrayIcon style, since the
        parent-relative background is now set when realizing the tray
        icon.

        Patch by Owen Taylor

svn path=/trunk/; revision=21531

17 years agoBug 552956 – Should check composite extension version
Matthias Clasen [Sat, 27 Sep 2008 03:43:50 +0000 (03:43 +0000)]
Bug 552956 – Should check composite extension version

2008-09-26  Matthias Clasen  <mclasen@redhat.com>

        Bug 552956 – Should check composite extension version

        * gdk/x11/gdkdisplay-x11.c: Check that the version of the
        composite extension is at least 0.4.
        Patch by Owen Taylor

svn path=/trunk/; revision=21530

17 years ago Bug 553803 – eventually call XCloseDevice on XOpenDevice results
Matthias Clasen [Sat, 27 Sep 2008 00:47:45 +0000 (00:47 +0000)]
    Bug 553803 – eventually call XCloseDevice on XOpenDevice results

        * gdk/x11/gdkinput.c: Add a finalize function for device objects,
        and call XCloseDevice there.

        * gdk/x11/gdkinput-x11.c:
        * gdk/x11/gdkdisplay-x11.c: Move freeing of device objects to
        the finalize function.
        Patch by Caolan McNamara

svn path=/trunk/; revision=21529

17 years agoForgotten log entry
Matthias Clasen [Sat, 27 Sep 2008 00:20:42 +0000 (00:20 +0000)]
Forgotten log entry

svn path=/trunk/; revision=21527

17 years agoBug 553578 - tabs are not drawn correctly
Matthias Clasen [Fri, 26 Sep 2008 23:58:12 +0000 (23:58 +0000)]
Bug 553578 - tabs are not drawn correctly

2008-09-26  Matthias Clasen  <mclasen@redhat.com>

        Bug 553578 - tabs are not drawn correctly

        * gtk/gtknotebook.c: Track the visibility state of notebook tabs
        between allocations so that we know to redraw the tab labels if
        tabs are hidden and shown without changing position.
        Reported by Marek Kašík, patch by Owen Taylor.

svn path=/trunk/; revision=21525

17 years agoBug 553133 – GtkFileChooser won't ask to mount a volume
Matthias Clasen [Fri, 26 Sep 2008 19:25:35 +0000 (19:25 +0000)]
Bug 553133 – GtkFileChooser won't ask to mount a volume

2008-09-26  Matthias Clasen  <mclasen@redhat.com>

        Bug 553133 – GtkFileChooser won't ask to mount a volume

        * gtk/gtkfilechooserdefault.c (shortcuts_activate_volume): Use
        a GtkMountOperation when mounting, so that we get a password
        dialog when required.

svn path=/trunk/; revision=21523

17 years agoBug 553917 – Typo in gdkwindow-win32.c
Cody Russell [Fri, 26 Sep 2008 16:47:58 +0000 (16:47 +0000)]
Bug 553917 – Typo in gdkwindow-win32.c

2008-09-26  Cody Russell  <bratsche@gnome.org>

        Bug 553917 – Typo in gdkwindow-win32.c

        * gdk/win32/gdkwindow-win32.c: Fixed a typo in
        update_system_menu().  Changed GDK_DECOR_ALL to GDK_FUNC_ALL.

        Reported by Richard Hult

svn path=/trunk/; revision=21522

17 years agoUpdated Slovenian translation
Matej Urbančič [Thu, 25 Sep 2008 17:54:18 +0000 (17:54 +0000)]
Updated Slovenian translation

svn path=/trunk/; revision=21521

17 years agoUpdated Slovenian translation
Matej Urbančič [Thu, 25 Sep 2008 17:50:06 +0000 (17:50 +0000)]
Updated Slovenian translation

svn path=/trunk/; revision=21520

17 years agoBug 553241 – double freed pointer in lpr_write cause firefox3 crash
Marek Kasik [Thu, 25 Sep 2008 11:46:35 +0000 (11:46 +0000)]
Bug 553241 – double freed pointer in lpr_write cause firefox3 crash

2008-09-25  Marek Kasik  <mkasik@redhat.com>

Bug 553241 – double freed pointer in lpr_write cause firefox3 crash

* modules/printbackends/lpr/gtkprintbackendlpr.c:
The redundant freeing of memory was removed.

Patch by Chris Wang

svn path=/trunk/; revision=21516

17 years agodon't unref the file system backend, the newly added
Michael Natterer [Thu, 25 Sep 2008 11:22:34 +0000 (11:22 +0000)]
don't unref the file system backend, the newly added

2008-09-25  Michael Natterer  <mitch@imendio.com>

* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
don't unref the file system backend, the newly added
unset_file_system_backend() already does this (bug #553135).

svn path=/trunk/; revision=21514

17 years agoevents return gboolean not gint, reindented static prototypes.
Michael Natterer [Wed, 24 Sep 2008 10:35:53 +0000 (10:35 +0000)]
events return gboolean not gint, reindented static prototypes.

2008-09-24  Michael Natterer  <mitch@imendio.com>

* gtk/gtkeventbox.c: events return gboolean not gint, reindented
static prototypes.

svn path=/trunk/; revision=21513

17 years agoBug 553385 – gtk-builder-convert creates untranslated combobox models
Johan Dahlin [Wed, 24 Sep 2008 09:59:05 +0000 (09:59 +0000)]
Bug 553385 – gtk-builder-convert creates untranslated combobox models

2008-09-24  Johan Dahlin  <johan@gnome.org>

    Bug 553385 – gtk-builder-convert creates untranslated combobox models

    * gtk/gtk-builder-convert: Set the translatable property on
    col tags for converted combos.

svn path=/trunk/; revision=21512

17 years agoInclude all of share/man, lib/pkgconfig, share/aclocal and share/gtk-doc
Tor Lillqvist [Wed, 24 Sep 2008 09:22:58 +0000 (09:22 +0000)]
Include all of share/man, lib/pkgconfig, share/aclocal and share/gtk-doc

2008-09-24  Tor Lillqvist  <tml@novell.com>

* gtk-zip.sh.in: Include all of share/man, lib/pkgconfig,
share/aclocal and share/gtk-doc instead of trying to list
individual files or subdirectories. We had missed gail.pc, for
instance.

svn path=/trunk/; revision=21511

17 years agoBug 538782 – Make GtkMenu's arrow size themable
Christian Dywan [Wed, 24 Sep 2008 08:56:10 +0000 (08:56 +0000)]
Bug 538782 – Make GtkMenu's arrow size themable

* gtk/gtkmenu.c (gtk_menu_class_init), (gtk_menu_paint):
Implement "arrow-scaling" style property in GtkMenu.

svn path=/trunk/; revision=21509

17 years agoBug 408244 – add GtkDialog::content-area-spacing
Christian Dywan [Wed, 24 Sep 2008 08:41:46 +0000 (08:41 +0000)]
Bug 408244 – add GtkDialog::content-area-spacing

* gtk/gtkbox.c (gtk_box_init), (gtk_box_set_spacing),
(_gtk_box_set_spacing_set), (_gtk_box_get_spacing_set):
* gtk/gtkbox.h:
* gtk/gtkdialog.c (gtk_dialog_class_init), (update_spacings):
Implement "content-area-spacing" style property in GtkDialog
and internal helper _gtk_box_get_spacing_set in GtkBox.
Patch by Tim Janik, Sven Herzberg and myself.

svn path=/trunk/; revision=21508

17 years agoBug 541391 – Unfocussable Treeview swallows focus
Christian Dywan [Wed, 24 Sep 2008 08:19:51 +0000 (08:19 +0000)]
Bug 541391 – Unfocussable Treeview swallows focus

* gtk/gtktreeview.c (grab_focus_and_unset_draw_keyfocus),
(gtk_tree_view_focus): Honor GTK_WIDGET_CAN_FOCUS properly

svn path=/trunk/; revision=21507

17 years agodraw focus as a rectangle around the complete item, not just the text.
Denis Washington [Wed, 24 Sep 2008 08:04:15 +0000 (08:04 +0000)]
draw focus as a rectangle around the complete item, not just the text.

2008-09-24  Denis Washington  <denisw@svn.gnome.org>

* gtk/gtkiconview.c: draw focus as a rectangle around the
complete item, not just the text. (Bug #38254)

svn path=/trunk/; revision=21506

17 years agogtk/gtkobject.c s/GtkType/GType/ and
Michael Natterer [Tue, 23 Sep 2008 18:24:33 +0000 (18:24 +0000)]
gtk/gtkobject.c s/GtkType/GType/ and

2008-09-23  Michael Natterer  <mitch@imendio.com>

* gtk/gtkobject.c
* gtk/gtksignal.[ch]: s/GtkType/GType/ and
s/GtkSignalMarshaller/GSignalCMarshaller/.

svn path=/trunk/; revision=21498

17 years agoprevent RLE encoding of 1x1 pixel images, since the encoder comparison
13:28:23 Tim Janik [Tue, 23 Sep 2008 11:30:35 +0000 (11:30 +0000)]
prevent RLE encoding of 1x1 pixel images, since the encoder comparison

2008-09-23 13:28:23  Tim Janik  <timj@imendio.com>

        * gdk-pixdata.c: prevent RLE encoding of 1x1 pixel images, since the
        encoder comparison operator requires at least 2 pixels, fixes #553374:
        Bug 553374 - gdk_pixdata_from_pixbuf fails for some images with use_rle set to TRUE

svn path=/trunk/; revision=21497

17 years agoremove unused variable and fix indentation.
Michael Natterer [Tue, 23 Sep 2008 10:46:46 +0000 (10:46 +0000)]
remove unused variable and fix indentation.

2008-09-23  Michael Natterer  <mitch@imendio.com>

* gdk/x11/gdkevents-x11.c (gdk_event_translate): remove unused
variable and fix indentation.

svn path=/trunk/; revision=21496

17 years agogtk/gtkclist.h gtk/gtkctree.h gtk/gtklist.h gtk/gtklistitem.h
Michael Natterer [Tue, 23 Sep 2008 10:28:23 +0000 (10:28 +0000)]
gtk/gtkclist.h gtk/gtkctree.h gtk/gtklist.h gtk/gtklistitem.h

2008-09-23  Michael Natterer  <mitch@imendio.com>

* gtk/gtkclist.h
* gtk/gtkctree.h
* gtk/gtklist.h
* gtk/gtklistitem.h
* gtk/gtkobject.h
* gtk/gtkoldeditable.h
* gtk/gtkpixmap.h
* gtk/gtkpreview.h
* gtk/gtktext.h
* gtk/gtktipsquery.h
* gtk/gtktree.h
* gtk/gtktreeitem.h: get rid of GtkType and GTK_CHECK_FOO() also
in all deprecated headers.

svn path=/trunk/; revision=21495

17 years agoBug 553135 – eog crash: assertion failed. Gtk error:
Matthias Clasen [Mon, 22 Sep 2008 18:32:31 +0000 (18:32 +0000)]
Bug 553135 – eog crash: assertion failed. Gtk error:

2008-09-22  Matthias Clasen  <mclasen@redhat.com>

        Bug 553135 – eog crash: assertion failed. Gtk error:
        shortcuts_remove_rows: code should not be reached

        * gtk/gtkfilechooserdefault.c: Disconnect from GtkFileSystem
        signals when we are destroyed, in order to avoid nasty surprises.
        Patch by Claudio Saavedra

svn path=/trunk/; revision=21492

17 years agoBug 552789 – Show size column in the search and recently used files
Emmanuele Bassi [Mon, 22 Sep 2008 14:25:45 +0000 (14:25 +0000)]
Bug 552789 – Show size column in the search and recently used files

2008-09-22  Emmanuele Bassi  <ebassi@linux.intel.com>

Bug 552789 – Show size column in the search and recently used
files modes

* gtk/gtkfilechooserdefault.c: Display the file size column
when in OPERATION_MODE_SEARCH. This removes a stat() call
and simplifies the code a little bit by changing the query
for file informations for each search engine hit.

svn path=/trunk/; revision=21491

17 years agos/GTK_SIGNAL_FUNC/G_CALLBACK/
Michael Natterer [Mon, 22 Sep 2008 11:00:40 +0000 (11:00 +0000)]
s/GTK_SIGNAL_FUNC/G_CALLBACK/

2008-09-22  Michael Natterer  <mitch@imendio.com>

* tests/ferret.c: s/GTK_SIGNAL_FUNC/G_CALLBACK/

svn path=/trunk/; revision=21489

17 years agogtk/gtksignal.[ch] gtk/gtkclist.c gtk/gtklist.c gtk/gtkmain.c
Michael Natterer [Mon, 22 Sep 2008 10:35:44 +0000 (10:35 +0000)]
gtk/gtksignal.[ch] gtk/gtkclist.c gtk/gtklist.c gtk/gtkmain.c

2008-09-22  Michael Natterer  <mitch@imendio.com>

* gtk/gtksignal.[ch]
* gtk/gtkclist.c
* gtk/gtklist.c
* gtk/gtkmain.c
* gtk/gtktext.c
* gtk/gtktreeitem.c: use G_CALLBACK and GCallback instead of
GTK_SIGNAL_FUNC and GtkSignalFunc also in deprecated code.

svn path=/trunk/; revision=21488